package com.ruoyi.cat.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.QiniuPrivateUrl;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章任务对象 cat_articletask_table
 * 
 * @author ruoyi
 * @date 2024-12-24
 */
public class CatArticletaskTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String articleTitle;

    /** 承办方 */
    @Excel(name = "承办方")
    private String organizer;

    /** 文章内容 */
    @Excel(name = "文章内容")
    @QiniuPrivateUrl(isRichText = true)
    private String articleContent;

    /** 转发量 */
    @Excel(name = "转发量")
    private Long forwardNum;

    /** 转发规则 */
    @Excel(name = "转发规则")
    private String forRules;

    /** 0显示阅读 1不显示 */
    @Excel(name = "0显示阅读 1不显示")
    private String articleState;

    /** 文章模式，不同形式的文章 0,1,2 */
    @Excel(name = "文章模式，不同形式的文章 0,1,2")
    private String articleMode;

    /** 目标阅读量 */
    @Excel(name = "目标阅读量")
    private Long targetNum;

    /** 小程序端发布的需后台审核
1：待审；2：审核通过；3：下架；0：正常展示 */
    @Excel(name = "小程序端发布的需后台审核1：待审；2：审核通过；3：下架；0：正常展示")
    private String articleExamine;

    /** 用户信息表外键 */
    @Excel(name = "用户信息表外键")
    private Long userId;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区 */
    @Excel(name = "区")
    private String area;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 介绍时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "介绍时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 访问量 */
    @Excel(name = "访问人数")
    private Long numberVisitors;

    @Excel(name = "阅读量")
    private Long readingVolume;

    @QiniuPrivateUrl(isRichText = false)
    @Excel(name = "缩略图")
    private String thumbnail;

    @QiniuPrivateUrl(isRichText = false)
    @Excel(name = "微信封面图")
    private String wXImg;

    private Long quantity;

    @Excel(name = "微信文章摘要")
    private String wXSummary;

    @Excel(name = "活动地址")
    private String activityAddress;

    @Excel(name = "域名")
    private String domainName;

    @Excel(name = "详细地址")
    private String activityState;


    private String month;


    private String phone;

    private String orderNo;

    private String invitationSource;

    private String displayReading;

    private String displayPeople;

    private Long outsiderealmId;

    private String qrCode;

    //支付状态
    private String status;

    private Integer advertTime;

    public Integer getAdvertTime() {
        return advertTime;
    }

    public void setAdvertTime(Integer advertTime) {
        this.advertTime = advertTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public Long getOutsiderealmId() {
        return outsiderealmId;
    }

    public void setOutsiderealmId(Long outsiderealmId) {
        this.outsiderealmId = outsiderealmId;
    }

    public String getDisplayReading() {
        return displayReading;
    }

    public void setDisplayReading(String displayReading) {
        this.displayReading = displayReading;
    }

    public String getDisplayPeople() {
        return displayPeople;
    }

    public void setDisplayPeople(String displayPeople) {
        this.displayPeople = displayPeople;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getInvitationSource() {
        return invitationSource;
    }

    public void setInvitationSource(String invitationSource) {
        this.invitationSource = invitationSource;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getActivityState() {
        return activityState;
    }

    public void setActivityState(String activityState) {
        this.activityState = activityState;
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }

    public String getwXSummary() {
        return wXSummary;
    }

    public void setwXSummary(String wXSummary) {
        this.wXSummary = wXSummary;
    }

    public String getActivityAddress() {
        return activityAddress;
    }

    public void setActivityAddress(String activityAddress) {
        this.activityAddress = activityAddress;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    private List<CatArticlegiftTable> catArticlegiftTableList;


    public List<CatArticlegiftTable> getCatArticlegiftTableList() {
        return catArticlegiftTableList;
    }

    public void setCatArticlegiftTableList(List<CatArticlegiftTable> catArticlegiftTableList) {
        this.catArticlegiftTableList = catArticlegiftTableList;
    }

    public Long getNumberVisitors() {
        return numberVisitors;
    }

    public void setNumberVisitors(Long numberVisitors) {
        this.numberVisitors = numberVisitors;
    }

    public Long getReadingVolume() {
        return readingVolume;
    }

    public void setReadingVolume(Long readingVolume) {
        this.readingVolume = readingVolume;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArticleTitle(String articleTitle) 
    {
        this.articleTitle = articleTitle;
    }

    public String getArticleTitle() 
    {
        return articleTitle;
    }
    public void setOrganizer(String organizer) 
    {
        this.organizer = organizer;
    }

    public String getOrganizer() 
    {
        return organizer;
    }
    public void setArticleContent(String articleContent) 
    {
        this.articleContent = articleContent;
    }

    public String getArticleContent() 
    {
        return articleContent;
    }
    public void setForwardNum(Long forwardNum) 
    {
        this.forwardNum = forwardNum;
    }

    public Long getForwardNum() 
    {
        return forwardNum;
    }
    public void setForRules(String forRules) 
    {
        this.forRules = forRules;
    }

    public String getForRules() 
    {
        return forRules;
    }
    public void setArticleState(String articleState) 
    {
        this.articleState = articleState;
    }

    public String getArticleState() 
    {
        return articleState;
    }
    public void setArticleMode(String articleMode) 
    {
        this.articleMode = articleMode;
    }

    public String getArticleMode() 
    {
        return articleMode;
    }
    public void setTargetNum(Long targetNum) 
    {
        this.targetNum = targetNum;
    }

    public Long getTargetNum() 
    {
        return targetNum;
    }
    public void setArticleExamine(String articleExamine) 
    {
        this.articleExamine = articleExamine;
    }

    public String getArticleExamine() 
    {
        return articleExamine;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public String getwXImg() {
        return wXImg;
    }

    public void setwXImg(String wXImg) {
        this.wXImg = wXImg;
    }

    public String getArea()
    {
        return area;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articleTitle", getArticleTitle())
            .append("organizer", getOrganizer())
            .append("articleContent", getArticleContent())
            .append("forwardNum", getForwardNum())
            .append("forRules", getForRules())
            .append("articleState", getArticleState())
            .append("articleMode", getArticleMode())
            .append("targetNum", getTargetNum())
            .append("articleExamine", getArticleExamine())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("province", getProvince())
            .append("City", getCity())
            .append("area", getArea())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("endTime", getEndTime())
            .toString();
    }
}
